Method CreateCopyAsync<TProps>(IRedbObject<TProps>, TProps)

Assembly: redb.Core.dll

Create copy of existing object with new properties
Preserves all metadata except ID (for creating new object)

public static Task<RedbObject<TProps>> CreateCopyAsync<TProps>(IRedbObject<TProps> source, TProps newProperties) where TProps : class, new()